Can anybody tell me how to set the aperture value and shutter speed in D5200..
See D5200 User Manual page 41 (under Mode M Manual heading). On the D5200, rotate the Command wheel for shutter speed. For aperture, hold down the +/- Exposure Compensation wheel (on top by shutter button) while rotating the Command wheel. Resulting value is shown in top LCD and in the viewfinder.
See other modes too (P, A, S, M). For example, in A mode, you don't have to hold the +/- button.