Tapping the number

This is an interaction where tapping the number keyboard below the image inputs the numbers at the top.

Is there any way to make this?