Doing it with a resistor means having to get rid of a lot of heat, more than twice the amount that the bulbs produce.
If your two bulbs can stay in parallel all the time, they would be equivalent to a 30W 6V lamp, which means 5A would flow.
The resistor would need to drop 20-6 = 14 Volts, which at 5 Amps equates to 70 Watts. The resistor value would be 14/5= 2.8 ohms. Nearest preferred resistor value is 2.7 ohm
So you would need a 2.7 ohm, I suggest 100W resistor. To get rid of the heat you would have to bolt it to a chunky bit of the bike, or a big heat sink bolted to the bike (and use thermal paste/heat sink compound)
I am dubious that the 'ac generator' you have would produce 20V at 5A. You might burn it out if it's not rated for 5A
Can you fit 24 Volt bulbs instead?
I'm not sure if this is practical, but it might be possible to put a bridge rectifier on the generator output, prob with a capacitor, and use the resultant dc to run a 'buck converter' to get the 6V at 5A. That would be much mote efficient.
Something like this, but it must be run from DC!
View attachment 118638