I have a galaxy tab s2 with a simcard. It's asking for phone number to access messaging. Where c

A SIM card reader would help but without buying one, have a look at the SIM and take it to the store of the company which owns it. They should be able to tell you the number.