When mathematicians want to be absolutely rigorous about numbers and arithmetic, they don't just say "it's obvious from counting." They build the system from a set of very basic, self-evident truths called axioms. The Peano Axioms (named after Giuseppe Peano, who published them in 1889) are the most common set of axioms for defining the natural numbers (0, 1, 2, 3, ... or 1, 2, 3, ... depending on the convention, but often including 0).
These axioms are like the "rules of the game" for numbers. From these simple rules, you can logically derive all of arithmetic (addition, subtraction, multiplication, etc.) and all the properties of numbers.
Let's break them down and then show how 1+1=2 is a direct logical consequence.