Weight gain and pregnancy.

So before I found out I am pregnant I drink only water and ate low carb. I went from weighing 221 to 179 and now that im pregnant I do not wanna gain more than 20 pounds my entire pregnancy. Can I keep doing my diet and add a lil exercise?? Anyone