Indian shares end flat on caution ahead of key data, earnings rush