This is a common requirement these days, especially in older areas where the stormwater assets often are already over capacity (or non existent).
The underground storage tank mentioned above is a decent suggestion. What I would be trying to do first however is a simple rain water tank. You...