So, you have a straight-line tube through the Earth. Let's say the tube has no air - it's a perfect vacuum also.
At the surface, you drop a coin into the tube. At the surface, the gravitational pull of the *whole Earth* pulls on the coin, accelerating it. (It's no different than if you simply dropped the coin on the ground.) The coin will continue to drop and accelerate, as the mass of the Earth continues to act on it.
As it's falling, the *rate* of acceleration begins to dwindle... why? Well, the deeper it falls, there's less of the Earth's mass below it, and more of the Earth's mass above it. When it reaches the center of the Earth, then the amount of mass below and above it are equal; It's acceleration stops, and the coin is moving at it's fastest here.
Now, there is more Earth on *this* side of the coin, and less in the direction it's moving... so, it begins to decelerate. As it continues it's journey, the speed grows less and less, as there is more and more of the Earth's mass pulling on it.
Your friend is waiting at the other end of the tube through the Earth, and he sees the coin approaching. It continues to slow, and just as it reaches your friend, it pops up out of the tube just about to the same height you held it when you dropped it *into* the tube on your side. He reaches out to grab it - but misses... it falls back into the tube - and repeats the journey back to you, accelerating to the center of the Earth, then decelerating, then popping out to your side, where it halts it's motion again...