Put whatever keybind for switching input language
The command as well as the shift key (and some other keys) are modifier keys. You have to add at least one normal key (like A-Z, 0-9, Fn*, arrows etc) to define a proper shortcut.

If you want to change this behavior you have to install a third-party tool like Karabiner.