How to Split the screen into two buttons

Hello, I really need help. I want to split my camera into two buttons. So that when the left side is touched my object goes left, and when the right is touched the object (player) goes right. I really could use some help on this!

You can use this for that.

If (Input.GetMouseButton (0) && Input.mousePosition.x <= screen.width / 2) {
     //if you are touching on the left side
} else If (Input.GetMouseButton (0) && Input.mousePosition.x > screen.width / 2) {
     //if you are touching on the right side
}

This is what I have used for my game.