Touch Input with GUI Texture

Well i am doing a little game and I want to make touch controls for Android. I have 2 GUI Textures and I want if I touch them move my platform directly to left (if the left is pressed) or to right (if the right is pressed). Can you give me a full script with pre-made controls in it and a bit detailed please? Thanks!

I hope these links helps you.