This cat is seriously ill and must be taken to the vet. The urine leakage and shrinking abdomen are bad signs. Do not delay any more.
The best way to make your cat stop urinating this way is provide it with litter box. Cats also need privacy like human beings. So it can be a behavioral disorder. Another cause can be out of stress so give it more attention and love. Change its food. It might work. Give it high quality well balanced diet. Keep it clean. Keep its surroundings clean as well. If it has a litter box already then clean it daily. Germs due to lack of cleanliness attack a pet and cause such problems