Nagato can walk ... his brain just has to remember how to use legs again ...
He has not used them for 10-15 years so its not that easy ... watch Kill Bill, she was unconscious only for a 5 years I think and it took her a while