Smart city spending to reach $20 billion by 2020