Magic erasers and/or a bit of Dr. Bronner's works for me. I have my kids do baseboards every so often too
My trick for keeping them clean(er) is to run a dryer sheet over them. They sort of grab all the dusty dirty bits and keep them from attracting so much dirt. ( I don't use dryer sheets in my laundry so I by a cheap box and they last forever )