on your phone, If you go into the health app, you can see a chart of an hour by hour breakdown of when you got the steps.
you can also see a list of steps and where they came from (scroll all the way down, show all data)
Since your watch was charging, it wouldn't have been on your arm moving. There's a good chance your steps were counted by your phone.