D.D.
The first thing is to clean up any areas that have already peed on. You need to use an enzyme cleaner such as nature's miracle that breaks down the urine and removes the smell.
Next you have to figure out what the dogs are peeing. Is it trying to mark out their territory from each other? One dog peeing and another peeing over the same spot to mark it as his? If it's marking territory then you have to stop giving them free run of the house and keep them in 1 room where you have the ability to mop up accidents and break the habit of leg lifting. If it's basically dog doing most of the damage you can try keeping the dog leashed to you while in the house.
Make sure they have enough time outside to pee and poop. Also take them out walking or to a dog park daily. A tired dog is a good dog.