You dont group them, you build them already grouped. Individually built units cannot be grouped later. Look for the white square buttons on the unit building interface, the right ones allow you to select the experience level of the unit(veteran, elite etc.) and the left ones the number of individual units in squad(one, four, etc.)