I would consult a doctor first. Don't try to exercise to lose weight. Make sure it's moderate, with you able to carry a normal conversation. Your heartbeat should'nt go above 140 bpm, that puts the baby in stress.
If you're adamant about exercise, stick to walking, swimming, yoga and pilates.