Next time, setup your shutter speed on at least 1/100th, it doesn't matter if images are underexposed, because they can be restored easily. Usually blur can't be dealt with, you can't reverse it properly. There's few tools available on the market, and are quite expensive, but even purchasing them will not guarantee the quality of restoration. Maybe showing us example of the image, would help to know in advance if restoration is possible or not.