Working out while pregnant

First Lady
Is it ok to work out with the intentions of loosing weight while pregnant?