Goats have this incredible odor to their urine so you'll want to allow them to get outside ALL the time, but if all you have is a balcony, you'll have to tie them to the railing lest they climb up and down the side of the building ~ and they'll urinate everywhere.
But, goats are friendly.