Where does gravity get its energy from? I would like to know where gravity gets its energy to attract physical bodies?
I know that the law of conservation states that total energy of an isolated system cannot change. So gravity has to be getting its energy from somewhere, or else things like hydropower plants wouldn't be able to turn the power of the falling water into a spinning rotor.
Just to be clear, Lets create an example:
Lets say we have two objects with equal mass close to each other. So gravity does its job and it pulls each other closer, this gets turned into kinetic energy. This is where I'm lost. According to the law of conservation energy can't be created or destroyed and the kinetic energy comes from the gravitational pull so where does the gravitational pull gets its energy.
If that energy isn't being recycled from some where else then that means you have just created energy, therefore breaking the law of conservation.
 A: 
Lets say we have two objects with equal mass close to each other. So gravity does its job and it pulls each other closer, this gets turned into kinetic energy. This is where I'm lost. According to the law of conservation energy can't be created or destroyed and the kinetic energy comes from the gravitational pull so where does the gravitational pull gets its energy.

In Newtonian gravity there exists a potential energy m1m2/r between two bodies , that is where the energy comes from: the fact that the masses were at a distance r gave them gravitational potential energy which is transformed to the kinetic in your example.
So problem number one is reduced to problem number two  "how did these two masses get at a distance r"? . And in order to simplify the problem, let us think of the moon and the earth. Where did the moon get its kinetic and potential energy? We are then led to a cosmological model.
The current answer is that the energy was provided at the beginning of time in the Big Bang model of the universe. This model is a General Relativity model, which has a lot of caveats as far as energy conservation goes, ( see the answer by Motl here) but it is true that for flat spaces, where Special Relativity holds,  energy conservation holds as usual . 
Thus the answer is , after the cataclysmic events of the beginning of time, when the observable universe appeared, it had a dowry of energy in the forms we study in the lab which follows the usual conservation law.
A: According to the conservation of energy, we cannot create or destroy energy, we can only transform it from one form to the other.
So this justifies that gravity doesn't have an infinite source of energy which never runs out! So it must be getting this energy from somewhere else, right?
Let's take the example of a ball dropped from some height. Gravity of the earth pulls it downward, doing work on the ball and giving it kinetic energy. The question you ask is where did it get this energy from?
Go back a step and think about how this ball ended up at such a height? You lifted it up with your arms, and put it on that height. Your arms did work against gravity, spent some energy to put that ball on that height. Where did that spent energy go? This was given to gravity!
When you do work against gravity, you store energy in the gravitational field as gravitational potential energy, which then gravity uses to do work on that object. 
In case of hydro power-plants, the sun is giving energy to the water at sea level, to evaporate and rise(in effect doing work against gravity), which ultimately ends up in dams at a higher height, and then falls converting that initial solar energy to electricity!
A: Falling water in hydropower plant gets its energy from the Sun: the sunrays heat the ocean water, it evaporates into atmosphere, then when the pressure drops or the temperature falls, the water drops on the Earth surface as rain. This rain water accumulates into rivers which are used by the hydropower plants.
A: Main part of question - 
"Lets say we have two objects with equal mass close to each other. So gravity does its job and it pulls each other closer..."
Answer -
Let us reverse this process. Suppose the two objects are next to each other, then take them apart. You have to spend energy to do that against gravity. Take the objects 5 miles away. Now with your logic, you can say that energy that you spent in moving the object, is lost. But it is not. 
Leave the objects on their own and they will come closer again, and will gain KE and they will gain exactly same amount of KE as the amount you spent in separating them. What it tells is that in either case, the energy is not lost, or created, it is converted from one form to another. 
When two objects come closer, they gain KE by borrowing it from potential energy of the system. As the KE increases, the potential energy of the system of two objects decreases (actually it increases with negative sign). When you take them apart, you return this potential energy to system.
As a crude example, you can consider gravity as a spring.
In case of gravity, space and the two objects, all three act together to create that attraction. So, gravity borrows the energy from potential energy of the system of two objects.
A: Lets make one thing clear. The phrase "gravity gets its energy" is technically not accurate as "gravity" is a type of interaction or force that exist between any two bodies having mass. 
You may be wondering why objects move in gravity, where do they get energy from? If I have understood essence of your question.
Well, every object has its own gravitational field, which has infinite range. To make things simpler to understand, lets imagine a region of space where there are only two bodies. These bodies are in gravitational field of each other and hence possess some energy by the virtue of their relative position.  We call it potential energy, as the form of energy they possess has a potential to do some work. 
Both these bodies will move towards each other due to gravity and their gravitational potential energy will be converted to kinetic energy. Hence, the energy that objects get while moving in gravitational field gets converted at the expense of their gravitational potential energy.
A: The problem here is that on think that gravity between two masses is a force originating from the masses themselves. Even Newton could not accept that idea. He preferred not to make any theory of how that force originated. Lesage suggested that the force was not an attraction between masses but a pushing force coming from outside, forcing the two masses to get closer. The bigger the masses, the more force they receive because one is shielding the force coming from behind it. Newton was not satisfy with that because no one was able to demonstrate it. If the force originate from the matter in the masses, then it might be  possible to block some of that force and the 'attraction' will be smaller. A laser beam can block some of the force but the result is the opposite. The 2 masses get closer as if the attraction force is getting stronger. The best explanation of these results is that there is a force coming from every direction of space and that the light ray blocked some of that force; the result is that the 2 masses are pushed toward one another. If only one mass is used, the moving mass will always be pushed toward the light beam, even if the light is enclosed in a steel box.
Then one does not have to find where the energy of gravity comes from because the force is coming from all direction of space and is probably caused by all what is moving through space at the speed of light.
A: As per Newtonts law each thing have energy to attract another thing, beacause in every thing there is potential energy. Due to friction that potential enrgy can convert in another form. for eg. our sirt colour get more dirty, because of friction between neck and colour, in anciant period for generating th fire people used to rubs to white stones on each other.
   inside of earth there is so much potential energy,and because of heat or pressure or because of any another reason friction come to exists and due to friction earths potential energy converts in gravity (earth get more energy of attraction than another things which are exists on earh)
A: The universe is composed of over $90$% dark matter and dark energy. Dark energy comprises about $70$% of this. So far, dark matter and energy remain undetectable and until there are the mechanism that produces gravity, will probably remain a puzzle. If you want to know more in detail you will need to research quantum mechanics and string theory.
