A differential is a mechanical device designed to do exactly what you propose. It will allow the two motors to spin at slightly different rates while still combining the power. The most common use of a differential is in the drivetrain of an automobile in which it is used to power both wheels from one engine while still allowing the wheels to spin at different rates, i.e. acting in the reverse sense from the application you are looking for.