3v should be fine, as would 5V (or anything else really), but you MUST use a current limiting resistor - you're only wanting a small trickle charge to keep the battery topped up. You should be aware that this won't stop it leaking, these types of batteries leak because they are old, not because they are flat.
However, are you aware that those batteries are pretty unreliable, and only have a finite life even if left on trickle charge. You should change them periodically (before they die) as part of your servicing procedure - this is why burglar alarm companies replace the batteries after a certain number of years.