Do you have any lights on the dash indicating it has any power at all? It's strange to suddenly lose all power, usually the bike will run poorly for a bit, or the lights/dash will dim, or the bike will still attempt to spin the starter with a battery issue.
If you have no power at all, I'd be checking the battery itself and the leads from it first. It's very strange for the battery to just die outright, so it's likely a lost terminal lead or something similar.