Many times it's hard to actually get the legs back. Check the Chao guide on the Sonic Adventure 2 page for futher details.
I gave my chao two bats. It lost its legs on the first. Then I gave it two regular animals and it didn't get its legs back. What's wrong?