This is a two stage reaction.
The carbon dioxide first reacts with water to form the intermediate, carbonic acid:
Then the carbonic acid reacts with sodium hydroxide to form the product, sodium bicarbonate:
We can combine these equations to get an overall summary of the reaction:
This isn't very easy to read, so we cancel out