The Department of Transportation announced $94 million in federal grants that will help dozens of communities accelerate public transit priorities, modernize vehicle safety systems and expand clean-energy technology.