How can i charge 2 3.7v li-ion batteries using 1 power source.

The arduino is used to send a signal to a motor driver. The motor driver is attached to the fan. I dont really know that much about consumption but the fan and arduino works when powered by 1 18650 battery or 16340 battery.