More than two dozen states now allow for some form of online lottery purchases.