Find all files (type f) in the current directory and its subdirectories (maxdepth 2) and execute the command 'grep -i 'pattern' {} \;' on each of them.
find -maxdepth 2 -type f -exec grep -i 'pattern' {} \;