Did the doctor tell you that you have to rest? If not, dancing should still be ok. I've been doing piloxing and another cardio class at my gym and my doctor said I can keep them up as long as I'm not in danger of falling or anything like that. It's actually shown to help with pregnancy and labor if you stay active as long as you can. Also, don't push yourself so hard that you can't catch your breath or feel overworked.
You can dance just be extra careful on the moves. I still dance :) I love dancing. I keep myself busy by doing my college honework and watching tv afterwards. But before all that I do chores and then cook.