So, if you want to go anywhere you need to know how to use the buses and trains. I would say that the most important thing to know is the stop you want to get to. I am going to start with the bus since you need to take the bus to get to the train from KG.There is a bus stop right outside of the front gate of KG. The one to the left as you exit KG goes away from Hirakata Station.
The building in the background is Kansai Gaidai. When the bus comes you get in the rear door.
When you get to the Train station you can find stairs and go up. There are two ways to get to the train. One end is smaller, and on the north end. The larger one is south. There are many stores in the station. From what I have seen most major stations double as a sort of shopping center. When you find the gate there will be a ticket place close by.
You then go through the gate which you feed your ticket through and it spits the ticket out the other side. Grab your ticket! You will need it to get back out.
When the train comes you just walk on, then you have to listen for your stop. If you miss your stop all you have to do is get off and take the next train back to your stop. Sometimes this involves talking to the man at the ticket booth who will stamp your ticket then you can go the the other gate and show it to the other ticket man. Remember your desired destination name, it makes everything so much easier. When you get to where you want to go you get off and go to the gate (which is usually found by following the crowd), and you put your ticket into the machine which eats it. If you haven't paid enough you have to go adjust your fare with the ticket man.
That is basically how it is done.