What do you do in Mass Effect 1?
You need to have your weapon out and ready to fire before you can melee. Since you are so close, you will hit them with your elbow or gun if you hit the right Trigger. Press the left lever if you want to get close to your target.