Listen to your body. Start slow and work your way up. Your body will tell you if you've done too much (bleeding, pain, etc). 2 weeks seems pretty early to me. I didn't start working out again until about 5 weeks (did 30 day shred which can be pretty intense). But I didn't work out much during my pregnancy either, so your body may be more primed to start early than I was.
Did you have any complications? Tearing? C-Section? If you did, I would wait until at least 4-6 weeks.