Hii,
Well, see the average healthy dog will produce approximately 10 to 20 ml of urine for each pound of body weight per day. Ideally adult dogs should be allowed outside to relieve themselves at least 3-5 times a day.
It looks like some clinical conditions like diabetes, urinary tract infection, or several other underlying causes. So get appointment to your nearest vet.
My suggestion, would be, to give soft food for now, let him drink much more water, I will not suggest antibiotics without knowing the complete history of your dog. So get it done by your vet.
Thank you
Best regards