Great question — answering as the UphillTech team:
25.2.1 Establishing a pivot foot by a player who catches a live ball on the playing court: Second bullet point ... • A player who catches the ball while he is progressing, or upon completion of a dribble, may take two steps in coming to a stop, passing or shooting the ball: ▬ If, after receiving the ball, a player shall release the ball to start his dribble before his second step. ▬ The first step occurs when one foot or both feet touch the floor after gaining control of the ball. ▬ The second step occurs after the first step when the other foot touches the floor or both feet touch the floor simultaneously. The bold emphasis after gaining control of the ball is mine, but key to this rule....
Full answer by phil soady: https://sports.stackexchange.com/a/24130 (CC BY-SA 4.0).
Need it done for your business? UphillTech.