pre pregnancy weight

Is there anyone else who was considered obese pre pregnancy and is gaining more weight than recommended? Ive already gained 17 pounds and I'm 24 weeks and the most they wanted me to gain was 20-25. I eat well, exercise and only drink water. What else can I do to help slow down the weight gain? Or maybe even loose some of it. My doctor just makes me feel horrible about it but I'm literally trying my hardest.