There are so many different types of nails out there, but when installing your treads and risers you will want to go with the Finish Nails. Using a 16 or 18 gauge finish nail will sure get the job done and the nail hole will barely be noticeable! 
Different Sized Finishing Nails

Below is the drawing of the nails and the specs!

Nail drawings with specs