The government will route $20 billion through community lenders and nonprofits that are geared to clean energy and climate solutions.