What is the required power for the two motors. You can transfer electrical power by inductive coupling. Where you connect a primary coil to the mains and the secondary coil to the load which is the two motors.
You can reduce the size of the two coils if you feed the primary coil with a higher frequency power say about 20 KHz. According to the induction law:
Vs= 4.44 f N phi,
where phi is the magnetic flux cutting the coil, N the the number of turns and f is the frequency. The distance between the primary coil and the secondary coil affects phi very much. So, the distance must be as small as possible.
There is may literature about the inductive power transfer. You can acquire them.