Governments want money to be all electric, so that they can keep track of it and what people do with it, and so they can keep it in banks should the banking system run into trouble (they call it a bail-in). From Jeff Thomas at internationalman.com:
A decade or more ago, I began to discuss with associates the possibility of governments and banks colluding to eliminate physical cash. Back then, the idea struck most everyone as poppycock, that governments could never get away with it.
I didn’t write on the subject until 2015, when several countries had begun to limit the amount of money a depositor could extract from his bank account. At that point, the prospect that central banks might conceivably eliminate cash was looking less like an alarmist fantasy, and it became possible to write on the nascent issue.
In a nutshell, today, in most of the world’s most prominent countries, the people who control banking are the same people who pull the strings in government. A cashless system therefore seemed to me to be a natural, as it dramatically increased both profit and power for both banking and government – an opportunity that can’t be passed up.