The grants will support the purchase of 1,700 transit buses, about half of which will be zero-emission vehicles.