It starts with some simple ballpark calculations.
First start with decent units. SI force is measured in Newton, distance in meters, etc.
If you need a force of 1N to move something with a (constant) speed of 1m/s, then you need 1W of power to do that.
So 20kg (approx 200N, no need to get accurate here) and 3m/s needs a raw power of 600W.
Your motor needs a gearbox, drum and / or some pulley system and there are always losses.
There are also caveats. With some motors the power rating is on the output shaft, while on other motors it is the electrical input power.
Considering this, then for your application a motor of around 1kW seems about right. This also leaves some room for not being able to use the maximum power of the motor, for example for electronic speed controll. Genreally (regardless of motor type !!!). The torque a motor can deliver is independent of the speed the motor runs. and becasue a rotation of 1 radian/s with an arm of 1m is also 1Watt of power, the availe motor power halves, if the motor runs at half speed.
Sometimes people play dirty. Powerfull motors are expensive, and most electrical motors can be overloaded for short periods of time.
If you only need short bursts of power (short enough that the motor does not get too hot, and has time to cool inbetween) your goal might be achievable with a 300W or maybe even a 200W motor, but that is really stretching the limits.
About gear ratio and speed.
Assume you have a 12V DC motor with a reasonable speed of 6000rpm under load (about 8000 rpm idle).
6000rpm is 100 revolutions per second.
If you put a drum on it with a radius of 1m then you wil have lifted your load 2 * pi * 100 = 630 meters.
Or, if you use such a big drum, you will need a gearbox of 630 / 3 = 110:1.
For a drum with a more sensible radius of 50mm (10 cm diameter). your drum must spin 20x faster to winch up the same amount of rope in the same time, and the gear radio would be around 6:1.
With a bit of logical thinking (winding rope around a drum) it's easy to calculate those speeds etc, and you will also get more insight in the math behind it and how the formulas work.