They are very common and normal during pregnancy and there is not much to do for them but to walk them off.
When I went through a phase where I had them every night, I would wrap my legs in ace bandages before going to bed (

), and sometimes that would help.