Metformin can be continued throughout pregnancy but you should discuss regarding dose reduction. Urine problem is not because of medicine. It is common I. Early pregnancy or It could be urinary tract infection. Please do a urine routine and culture. Also, check your sugars.
Next Steps
Urine routine and culture, FBS, PLBS,
HbA1c