Gaining too much weight

Randa.
Anyone struggling with pregnancy weight gain? I'm 23 weeks and have gained 22 pounds 😞.  My doctor is concerned but since I started out at a healthy weight he's not too worried. 
Is there anything I can do to lose weight or stop the gain? I'm starting to workout a lot more, but I was really working out in my first trimester cause was so tired and that's where I think I got out of control.  I'm one of those people that smells good and gains weight so working out is crucial.  At this point I'm going to end up gaining close to 45 pounds which isn't good at all.
Help!!