For input you will have to create some method to read each keys and store them in a variable.
But for the multiple amount of textures, look at using a map with the key as an integer and the value as a texture.
That way, you can have as many textures linked to a number as you want. Then when you want a texture, use the map with the key to find your given texture.