31 weeks water broke admitted into hospital

Sug
At present 31 weeks 3 days, Feb 19th at 10am my water broke, rite away my husband took me to L&D. Let me tell you my story here ....At week 19 my detail ultrasound discovered that my fluid levels are very low 1.5... And they suggested me to drink lots of water. In the next week same fluid level no change in fluid level... They found I hv pprom.. I kept pregnancy and at week 24 admitted into hospital for the treatment they gave me steroid shots, dec 28 th admitted and dec 29 th morning they did ultrasound to check my fluid level it was 9. Like normal level in the evng they discharged me giving some guidelines and every week U/S... Like every week the fluid level was increased 12,14and 16.... Like this they canceled my weekly U/S...put me on regular checkups.
Now today I am praying God for to carry on for at least 2 more weeks....they gave me 2nd round of steroid shots and baby measured around 4 pounds. 
I am very scared my water keeps leaking there is no way to stop it. How much AFI is needed for baby and if it completely goes zero how do I know it?  My sugar level also cmg high and they started insulin.. I am thinking due to complete bed rest last 2months that's  reason my sugar levels are coming high... Is any one of you faced same issue please guide me... Docs are monitoring  for any infections. I m hoping I can make for at least few more weeks.. Goal is 34 weeks at present.