Jesus offered to Thomas that he could touch his wounds, but the Bible doesn't say that Thomas actually did it. I think when Thomas finally saw Jesus he realised that the person standing before him was the risen Lord, because what the Bible does say is that Thomas said "my Lord and my God!" A lot of people criticize Thomas, but it is good to be sure about important matters of faith. I think Thomas wanted to be sure.