Looking at a chart on line, 18AWG copper wire has a resistance of 0.00639 ohms per foot. Multiplying by 40 (2 conductors (+ and -) times 20 feet) gives a resistance of 0.2556 ohms. At 20A, Ohm's law says that you will drop 20 * .256 = 5.112 volts in the wire. That means your lights will only see 6.9V, which may be an issue. Also, your wire will be dissipating 20 * 5.112 = 102W. It will get warm; each foot will dissipate 5W.
Retrying this with 14AWG (.002525 ohms per foot) gives a 2V drop and 40W dissipated in the wire.
/mike