Treasury Secretary Janet Yellen warned lawmakers the government could run out of money by Oct. 18 unless Congress raises the debt ceiling.