Two Federal Reserve officials said that interest rates need to keep rising, with one arguing they should keep moving at a gradual pace.