Simply plug the charger into a standard wall socket at work or when you get home.
To charge the Shimano Steps battery from 0% to 80% will take 2 hours, 100% in 4 hours.
Most of the time though you’ll just need to top up rather than completely refill.
Charging times are similar for the Bafang.