In order to command your army, first press the numerical key associated with the squad. This will then allow you to give them orders with the function keys. Pressing the function keys for movement, changing the direction they're facing, and the troop's formation, will bring up a second menu of options.