How a robot can Identify numbers?
The first thing that comes to my mind is Optical Character Recognition. Your robot would need a camera to take photos of the object, and then some OCR software that would turn the characters in the photo into text that you could use afterwards.

https://en.wikipedia.org/wiki/Optical_character_recognition