Keyboard problem in Minecraft

When ı am playing minecraft ı am pressing shift key I press the 2 key at the same time, the 2 key doesn’t work. How do I fix it?