As you throw the ball up into the air, its direction is up, but the speed decreases due to the pull of gravity. The ball slows down, and at the very top of its flight, its velocity at that instant is zero.
If an object accelerates for 2 seconds, and accelerates by 10 meters per second, then that objects speed will be 20 meters per second, assuming hat there are no other factors involved.