More than three dozen state and local governments will receive funds, including $2.2 million for Chicago to launch a building electrification campaign, install EV chargers and other projects.