In my opinion both are incorrect.
You can write :
1. Most of them spend two hours a day playing baseball
2. Most of them spend (some) time playing baseball.
since 2 hours and time mean the same. or put it specifically as :
3. Most of them spend (some) time, precisely two hours, in playing baseball.
Hope it helps........
Student or Learner