The speed of the ball is always zero and the acceleration is always -g when it reaches the top of its motion. This is because when the ball is free, only gravity acts on it which is always downwards, hence g is the net acceleration and it is always negative. However the velocity does not direction change instantly, negative acceleration first slows down the ball with a positive velocity, until that point the ball keeps moving up, then the ball velocity becomes zero just before changing direction and becoming negative after which the ball will now go down along gravity. Hence the ball velocity is zero at the top (neither going up nor down). Mathematically this can be seen as velocity is the integration of acceleration.