What happens to ray that moves along the principal axis or moves through the centre of curvature?

According to Snell’s law the ray which move along the normal drawn to the surface does not deviate. Hence both rays in the given condition travel along normal, so they do not deviate.