Dynamics of solitons to the coupled sine-Gordon equation in nonlinear optics