2 standard deviations from the mean would technically be 2 as you rightly pointed out, but the critical value used in statistical tables and calculations for a 95% confidence interval is approximately 1.96 due to rounding and approximation. If you use the tables or a programming language like Python or R, you would get about 1.95996, which approximates to 1.96 or 2.