Pennsylvania would update an economic development tax credit program to offer incentives to electric-generating and hydrogen facilities, among other energy projects, under a bill passed by the state’s House.