A step-up transformer increases voltage but must proportionally step down the current to satisfy conservation of energy. Since the secondary side has 20 times more loops, its voltage scales up by 20, which forces its current to drop by a factor of 20. Therefore, the primary current must simply be $2\text{ A} \times 20 = 40\text{ A}$.