ah these are some interesting phrasal verbs. And of course as phrasal verbs they can have very strange and different meanings depending on what other words we're using in the phrase.
"keep TO time"/"Keep Time" - these i would say would be more normally used in musical contexts. "keeping time" or "keeping to time" are a reference to the speed and rhythm of the music that you are playing. You will see many musicians tapping their feet on the ground in order to "keep time" with the rest of the musicians present.
keeping "on" time could be very similar, but a regional difference in this idiomatic structure. I could see someone using "keep on time" similarly to "keep to time"/"keep time" in a musical context, but i wouldn't do that myself. Usually the "on time" part is actually going to be more about not being late to an appointment, work, meeting or class (whatever, something scheduled at a specific time, like some activity or something)
It would help a lot if i could get more context here, where are you pulling this language from?