Federal Reserve Chair Janet Yellen told Congress that the central bank plans to keep raising its interest rate and to reduce investment holdings.