those are usually done in post-production in a program like after effects, combustion, or shake. you could technically do it in maya, but i really don't recommend it.