Keys doesn't work in blueprint class

You probably just need to enable input on the blueprint on begin play.