Find all files with the extensions .ext1 or .ext2 in the current directory and its subdirectories and move them to the destination directory.
find ./ -name '*.ext1' -or -name '*.ext2' -exec mv {} destdir \;