You need to make input actions, and then add them to the context. Have a look at the docs I linked:
Not sure about the state of the plugin under UE4, though.