The increase in the consumer price index for the 25-county region that includes Long Island was fueled in part by the cost of natural gas, electricity and housing.