Breast feeding and exercising

Michelle • We are expecting our first! Matt and I have been married almost 2 years
So I have heard that while breast feeding you're not supposed to do intense exercise but the only kinds of exercise I've ever done are either yoga, walking or insanity and I really want to get back into it when the baby comes to get my body back. Does it have to do with milk production? What have other people done?