House Democrats have passed a bill to fight oil and gas price gouging amid record prices at the pump.