Increased government investment in education in the past two years has started paying off, President William Ruto has said