Based on FIFA Football Rules, the goalkeeper cannot take more than four steps while directly holding the ball. This can be punished with an indirect free kick for the opponent.