Two ways, either start a new document and set the pixel dimensions there (the units could be set to inches or centimeters just change it to pixels)
Or, you can use the menu Image then Image size and adjust the pixel dimensions there. (Keep in mind using the menu is best when little or no data is in the document as it can blur any raster portions of the document)