If you assume that $M$ is oriented, then up to a multiple $I_1$ and $I_2$ are the usual integral. In this case $\partial M$ is oriented, and since this is a manifold without boundary, the integral induces a linear isomorphism $\Omega^{m-1}(\partial M)/d(\Omega^{m-2}(\partial M))\to\mathbb R$. By definition, you must have $I_2(d\beta)=0$Now for any $\beta$, so up to a multiple$\beta\in\Omega^{m-2}(\partial M)$ there exists an extension $\tilde\beta\in\Omega^{m-2}(M)$ and by naturality of $d$, we get $I_2$ is just$d\tilde\beta|_{\partial M}=d\beta$. Since $0=d(d\tilde\beta)$ the usual integraldefining equation tells you that $0=I_1(d(d\tilde\beta))=I_2(d\beta)$. By Stokes,Thus you see that $I_1$ has$I_2$ factorizes to coincide with the same multiple ofquotient $\Omega^{m-1}(\partial M)/d(\Omega^{m-2}(\partial M)$ and hence that is a number $a\in\mathbb R$ such that $I_2(\alpha)=a\int_{\partial M}\alpha$ for all $\alpha\in \Omega^{m-1}(\partial M)$.
Now consider $\alpha\in\Omega^{m-1}(M)$ and form $I_1(d\alpha)-a\int_M(d\alpha)$. By your defining equation the integralfirst term gives $I_2(\alpha)=a\int_{\partial M}\alpha$, so by Stokes $I_1-a\int_M$ vanishes on any exact $m$-formform. ForBut on a manifold with boundary $H^m(M)=0$, so any $m$-formtop degree form is exact, so $I_1=a\int_M$.