Is $0^x$ not analytic?
Assume that we define it as follows:
$$f(x)=0\ (x>0)$$
$$f^{(k)}(x)=0\ (x>0)$$
If it were analytic, I could extend its domain by taylor's theorem:
$$f(x)=\sum_{n=0}^\infty\frac{f^{(n)}(a)}{n!}(x-a)^n$$
If we have $a>0$, then this reduces down to
$$f(x)=0$$
So why can't we define $0^x=0$ like this for all $x$?
For clarification, I am not asking what $0^{-1}$ or $0^0$ is, I am asking why we can't have analytic continuation of $0^x$ to any $x$ value.
You are mistaking "function" for "formula of a function". Keep in mind that one and the same function may have different formulae on different domains. Let me explain this by an analogy.
Consider the (convergent) series $\sum \limits _{n \ge 1} \frac 1 {n^x}$. This is denoted as $\zeta (x)$ and I believe that you know this. $\zeta$ may be extended by analyticity to the whole of $\Bbb C \setminus \{1\}$, but the formula $\sum \limits _{n \ge 1} \frac 1 {n^x}$ may not.
Another, easier, example: consider $\log : (0, \infty) \to \Bbb R$. Remember that on $(0,2]$
$$\log x = \sum \limits _{n \ge 1} (-1)^{n-1} \frac {(x-1)^n} n .$$
$\log$ is analytic on the whole domain of definition, but that series representation only holds on $(0,2]$.
This is exactly what happens in your example: $0^x$, initially defined only on $(0, \infty)$ may be extended by analyticity to the whole $\Bbb R$ (or $\Bbb C$, depending on your context), but the formula $0^x$ no longer holds on this new, larger domain.