A model can fight if its base is touching the base of an enemy model. Even models attacked from the side or rear can fight normally.
If a warrior is touching more than one enemy, he can choose which to attack. If he has more than 1 Attack, he can divide them in any way the player wishes, so long as he makes this clear before rolling to hit.