Congress is shifting quickly to a general election footing, with lawmakers of both parties intensifying efforts to exploit public alarm about gasoline prices and the economy.