State lawmakers have voted for an array of tax credits, including a massive incentive designed to help Pennsylvania land one of the hydrogen energy hubs being funded with federal subsidies.