Limit cycles of piecewise smooth differential equations on two dimensional torus