Simulating Phase Transition in Two-Dimensional Ising Model on Coherent Ising Machine